import request from '@/utils/request'
export function queryPage(data) {
  return request({
    baseURL: '/API-ENTERPRISE-BACKEND/',
    url: '/backend/dataScreenConfig/queryPage',
    method: 'post',
    data
  })
}
// 新增
export function add(data) {
  return request({
    baseURL: '/API-ENTERPRISE-BACKEND/',
    url: '/backend/dataScreenConfig/insert',
    method: 'post',
    data
  })
}
// 根据id获取详情
export function get(data) {
  return request({
    baseURL: '/API-ENTERPRISE-BACKEND/',
    url: '/backend/dataScreenConfig/get',
    method: 'post',
    data
  })
}
// 修改
export function update(data) {
  return request({
    baseURL: '/API-ENTERPRISE-BACKEND/',
    url: '/backend/dataScreenConfig/update',
    method: 'post',
    data
  })
}
// 删除
export function deleteById(data) {
  return request({
    baseURL: '/API-ENTERPRISE-BACKEND/',
    url: '/backend/dataScreenConfig/deleteByIds',
    method: 'post',
    data
  })
}

// 修改状态
export function updateStatus(data) {
  return request({
    baseURL: '/API-ENTERPRISE-BACKEND/',
    url: '/backend/dataScreenConfig/updateStatus',
    method: 'post',
    data
  })
}
